//
//  BaseModel.h
//  JKWDStudent
//
//  Created by 学大教育 on 2022/1/7.
//

#import <Foundation/Foundation.h>
#import "MJExtension.h"
NS_ASSUME_NONNULL_BEGIN

@interface BaseModel : NSObject

@end

@interface CellModel : BaseModel
/*************UITableViewCell & UICollectionViewCell****************/
@property (nonatomic, strong) NSString *cellClass;
@property (nonatomic, assign) BOOL xib;
//UITableViewCell 高度
@property (nonatomic, assign) CGFloat cellHeight;

/*************UICollectionViewCell部分****************/
@property (nonatomic, assign) CGSize itemSize;

@end

@interface BaseSectionModel : BaseModel
/**sectionHeader footer 的高度*/
@property (nonatomic, assign) CGFloat sectionHeaderHeight;
@property (nonatomic, assign) CGFloat sectionFooterHeight;
/*************UICollectionView*********/
@property (nonatomic, assign) CGSize sectionHeaderSize;
@property (nonatomic, assign) CGSize sectionFooterSize;
@property (nonatomic, assign) CGFloat minimumLineSpacing;
@property (nonatomic, assign) CGFloat minimumInteritemSpacing;
@property (nonatomic, assign) UIEdgeInsets inset;
/**UITableView & UICollectionView cells*/
@property (nonatomic, strong) NSArray *cells;
@end
NS_ASSUME_NONNULL_END
